<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盛世大唐 - 唐代文化展示</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', 'SimSun', serif;
        }
        
        :root {
            --primary-color: #a02c2c;
            --secondary-color: #d4af37;
            --accent-color: #8b4513;
            --light-color: #f8f0d7;
            --dark-color: #2c1e0f;
        }
        
        body {
            background-color: var(--light-color);
            color: var(--dark-color);
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" stroke="%23d4af37" stroke-width="0.5" x="0" y="0" width="100" height="100"/></svg>');
            background-size: 20px;
            line-height: 1.6;
        }
        
        /* 头部和导航 */
        header {
            background: linear-gradient(to right, var(--primary-color), var(--accent-color));
            padding: 15px 5%;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .logo {
            display: flex;
            align-items: center;
            color: var(--secondary-color);
            text-decoration: none;
        }
        
        .logo h1 {
            font-size: 28px;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            margin-left: 10px;
            letter-spacing: 2px;
        }
        
        .logo-icon {
            font-size: 32px;
            animation: rotate 10s linear infinite;
        }
        
        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav li {
            margin-left: 25px;
        }
        
        nav a {
            color: var(--light-color);
            text-decoration: none;
            font-size: 18px;
            font-weight: 500;
            padding: 8px 15px;
            border-radius: 5px;
            transition: all 0.3s ease;
            position: relative;
        }
        
        nav a:hover {
            background-color: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }
        
        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary-color);
            transition: width 0.3s ease;
        }
        
        nav a:hover::after {
            width: 100%;
        }
        
        /* Banner和通告 */
        .banner-container {
            position: relative;
            height: 500px;
            overflow: hidden;
            margin: 0 auto;
            max-width: 1400px;
            border-radius: 0 0 15px 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .carousel {
            position: relative;
            height: 100%;
        }
        
        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .carousel-slide.active {
            opacity: 1;
        }
        
        .slide-content {
            background: rgba(0, 0, 0, 0.6);
            padding: 30px;
            max-width: 600px;
            text-align: center;
            border-radius: 10px;
            transform: translateY(20px);
            animation: slideUp 0.8s ease forwards;
        }
        
        @keyframes slideUp {
            to { transform: translateY(0); }
        }
        
        .slide-content h2 {
            color: var(--secondary-color);
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
        
        .slide-content p {
            color: white;
            font-size: 1.2rem;
            line-height: 1.8;
        }
        
        .carousel-nav {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
        }
        
        .carousel-dot {
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            margin: 0 8px;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .carousel-dot.active {
            background: var(--secondary-color);
        }
        
        .announcement {
            background: linear-gradient(135deg, var(--secondary-color), #f1c232);
            padding: 15px;
            text-align: center;
            font-size: 1.1rem;
            color: var(--dark-color);
            font-weight: 500;
            border-bottom: 2px solid var(--primary-color);
        }
        
        .announcement .highlight {
            color: var(--primary-color);
            font-weight: bold;
        }
        
        /* 主体内容区域 */
        main {
            max-width: 1400px;
            margin: 40px auto;
            padding: 0 20px;
        }
        
        section {
            margin-bottom: 60px;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }
        
        .section-header h2 {
            font-size: 2.5rem;
            color: var(--primary-color);
            display: inline-block;
            padding: 0 20px;
            background: var(--light-color);
            position: relative;
            z-index: 2;
        }
        
        .section-header::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--secondary-color);
            z-index: 1;
        }
        
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .feature-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
        }
        
        .feature-img {
            height: 200px;
            background-size: cover;
            background-position: center;
        }
        
        .feature-content {
            padding: 20px;
        }
        
        .feature-content h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .feature-content p {
            margin-bottom: 20px;
            color: #555;
        }
        
        .btn {
            display: inline-block;
            background: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .btn:hover {
            background: #8a2525;
            transform: scale(1.05);
        }
        
        .poetry-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
        }
        
        .poetry-card {
            flex: 1;
            min-width: 300px;
            max-width: 450px;
            background: rgba(255, 255, 255, 0.8);
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            border-left: 5px solid var(--secondary-color);
        }
        
        .poetry-card h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .poetry-card h3 i {
            margin-right: 10px;
            color: var(--secondary-color);
        }
        
        .poem {
            font-family: 'KaiTi', 'STKaiti', serif;
            font-size: 1.1rem;
            line-height: 2;
            color: #333;
            text-align: center;
            padding: 15px;
            border: 1px dashed var(--secondary-color);
            border-radius: 5px;
            background: rgba(212, 175, 55, 0.05);
        }
        
        .author {
            text-align: right;
            font-style: italic;
            color: #777;
            margin-top: 10px;
        }
        
        .subscribe {
            background: linear-gradient(135deg, var(--primary-color), #8a2525);
            padding: 40px;
            border-radius: 15px;
            color: white;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .subscribe h2 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: var(--secondary-color);
        }
        
        .subscribe p {
            max-width: 700px;
            margin: 0 auto 25px;
            font-size: 1.1rem;
        }
        
        .form-group {
            max-width: 500px;
            margin: 0 auto;
            display: flex;
        }
        
        .form-group input {
            flex: 1;
            padding: 15px;
            border: none;
            border-radius: 5px 0 0 5px;
            font-size: 1rem;
        }
        
        .form-group button {
            padding: 15px 25px;
            background: var(--secondary-color);
            color: var(--dark-color);
            border: none;
            border-radius: 0 5px 5px 0;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .form-group button:hover {
            background: #e6c04d;
        }
        
        /* 底部版权区域 */
        footer {
            background: var(--dark-color);
            color: var(--light-color);
            padding: 50px 0 20px;
        }
        
        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }
        
        .footer-column h3 {
            color: var(--secondary-color);
            margin-bottom: 20px;
            font-size: 1.4rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--secondary-color);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: #bbb;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }
        
        .contact-info p {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .contact-info i {
            margin-right: 10px;
            color: var(--secondary-color);
            width: 20px;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: var(--secondary-color);
            transform: translateY(-5px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            margin-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
            }
            
            nav ul {
                margin-top: 15px;
            }
            
            nav li {
                margin: 0 10px;
            }
            
            .banner-container {
                height: 400px;
            }
            
            .slide-content {
                padding: 20px;
                margin: 0 15px;
            }
            
            .slide-content h2 {
                font-size: 1.8rem;
            }
            
            .form-group {
                flex-direction: column;
            }
            
            .form-group input {
                border-radius: 5px;
                margin-bottom: 10px;
            }
            
            .form-group button {
                border-radius: 5px;
            }
        }
    </style>
</head>
<body>
    <!-- 头部导航区域 -->
    <header>
        <div class="header-container">
            <a href="#" class="logo">
                <i class="fas fa-landmark logo-icon"></i>
                <h1>盛世大唐</h1>
            </a>
            <nav>
                <ul>
                    <li><a href="#"><i class="fas fa-home"></i> 首页</a></li>
                    <li><a href="#"><i class="fas fa-history"></i> 唐代历史</a></li>
                    <li><a href="#"><i class="fas fa-paint-brush"></i> 文化艺术</a></li>
                    <li><a href="#"><i class="fas fa-vest"></i> 服饰妆容</a></li>
                    <li><a href="#"><i class="fas fa-utensils"></i> 饮食文化</a></li>
                    <li><a href="#"><i class="fas fa-book"></i> 唐诗鉴赏</a></li>
                </ul>
            </nav>
        </div>
    </header>

    <!-- Banner和通告区域 -->
    <div class="banner-container">
        <div class="carousel">
            <div class="carousel-slide active" style="background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1547981609-4b6bf67b9f0a?q=80&w=1000') center/cover;">
                <div class="slide-content">
                    <h2>盛世大唐 文化瑰宝</h2>
                    <p>唐朝是中国历史上最辉煌的朝代之一，其开放包容的文化政策、繁荣的经济和灿烂的艺术成就，使其成为中华文明的黄金时代。</p>
                </div>
            </div>
            <div class="carousel-slide" style="background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1588419100089-9d45bd5e4e0f?q=80&w=1000') center/cover;">
                <div class="slide-content">
                    <h2>唐诗三百首 千古传诵</h2>
                    <p>唐代是中国诗歌发展的黄金时代，李白、杜甫、白居易等伟大诗人创作了大量脍炙人口的诗歌作品，至今仍被人们传颂。</p>
                </div>
            </div>
            <div class="carousel-slide" style="background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1601373873787-ecb58b7c1d7d?q=80&w=1000') center/cover;">
                <div class="slide-content">
                    <h2>丝绸之路 东西交融</h2>
                    <p>唐朝通过丝绸之路与世界各国进行广泛交流，东西方文化在此交融，创造了多元而独特的唐代艺术风格。</p>
                </div>
            </div>
            <div class="carousel-nav">
                <div class="carousel-dot active" data-index="0"></div>
                <div class="carousel-dot" data-index="1"></div>
                <div class="carousel-dot" data-index="2"></div>
            </div>
        </div>
    </div>
    
    <div class="announcement">
        <i class="fas fa-bullhorn"></i> 最新通告：<span class="highlight">"唐代服饰特展"</span> 将于本月25日在国家博物馆开幕，欢迎参观！
    </div>

    <!-- 主体内容区域 -->
    <main>
        <section class="features-section">
            <div class="section-header">
                <h2>唐代文化精髓</h2>
            </div>
            <div class="features">
                <div class="feature-card">
                    <div class="feature-img" style="background: url('https://images.unsplash.com/photo-1608889476518-738c9b1dcb40?q=80&w=1000') center/cover;"></div>
                    <div class="feature-content">
                        <h3>唐代诗歌</h3>
                        <p>唐诗是中国古典诗歌的巅峰，题材广泛，风格多样。从边塞诗到山水田园诗，从古体诗到近体诗，唐诗展现了唐代社会的方方面面。</p>
                        <a href="#" class="btn">了解更多</a>
                    </div>
                </div>
                <div class="feature-card">
                    <div class="feature-img" style="background: url('https://images.unsplash.com/photo-1542662565-7e4b66bae529?q=80&w=1000') center/cover;"></div>
                    <div class="feature-content">
                        <h3>唐代书法</h3>
                        <p>唐代书法艺术达到新的高度，楷书四大家（欧阳询、颜真卿、柳公权、赵孟頫）中的三位出自唐代，草书也有张旭、怀素等大家。</p>
                        <a href="#" class="btn">了解更多</a>
                    </div>
                </div>
                <div class="feature-card">
                    <div class="feature-img" style="background: url('https://images.unsplash.com/photo-1547981609-4b6bf67b9f0a?q=80&w=1000') center/cover;"></div>
                    <div class="feature-content">
                        <h3>唐代绘画</h3>
                        <p>唐代绘画题材广泛，人物画达到高峰，山水画开始独立成科，花鸟画也初具规模。吴道子、阎立本等画家名垂青史。</p>
                        <a href="#" class="btn">了解更多</a>
                    </div>
                </div>
            </div>
        </section>
        
        <section class="poetry-section">
            <div class="section-header">
                <h2>经典唐诗鉴赏</h2>
            </div>
            <div class="poetry-container">
                <div class="poetry-card">
                    <h3><i class="fas fa-feather"></i> 静夜思</h3>
                    <div class="poem">
                        床前明月光，疑是地上霜。<br>
                        举头望明月，低头思故乡。
                    </div>
                    <div class="author">—— 李白</div>
                </div>
                <div class="poetry-card">
                    <h3><i class="fas fa-feather"></i> 春望</h3>
                    <div class="poem">
                        国破山河在，城春草木深。<br>
                        感时花溅泪，恨别鸟惊心。<br>
                        烽火连三月，家书抵万金。<br>
                        白头搔更短，浑欲不胜簪。
                    </div>
                    <div class="author">—— 杜甫</div>
                </div>
                <div class="poetry-card">
                    <h3><i class="fas fa-feather"></i> 赋得古原草送别</h3>
                    <div class="poem">
                        离离原上草，一岁一枯荣。<br>
                        野火烧不尽，春风吹又生。<br>
                        远芳侵古道，晴翠接荒城。<br>
                        又送王孙去，萋萋满别情。
                    </div>
                    <div class="author">—— 白居易</div>
                </div>
            </div>
        </section>
        
        <section class="subscribe-section">
            <div class="subscribe">
                <h2>订阅唐代文化周刊</h2>
                <p>每周获取最新唐代文化研究成果、历史解读和艺术鉴赏，深入了解这个辉煌时代的方方面面。</p>
                <form class="subscribe-form">
                    <div class="form-group">
                        <input type="email" placeholder="输入您的电子邮箱" required>
                        <button type="submit">立即订阅</button>
                    </div>
                </form>
            </div>
        </section>
    </main>

    <!-- 底部版权区域 -->
    <footer>
        <div class="footer-content">
            <div class="footer-column">
                <h3>关于我们</h3>
                <p>盛世大唐文化研究中心致力于唐代文化的保护、研究和传播，通过数字化手段让更多人了解唐代文化的辉煌成就。</p>
                <div class="social-links">
                    <a href="#"><i class="fab fa-weixin"></i></a>
                    <a href="#"><i class="fab fa-weibo"></i></a>
                    <a href="#"><i class="fab fa-qq"></i></a>
                    <a href="#"><i class="fab fa-github"></i></a>
                </div>
            </div>
            <div class="footer-column">
                <h3>快速链接</h3>
                <ul class="footer-links">
                    <li><a href="#">网站首页</a></li>
                    <li><a href="#">唐代历史</a></li>
                    <li><a href="#">文化艺术</a></li>
                    <li><a href="#">服饰妆容</a></li>
                    <li><a href="#">饮食文化</a></li>
                </ul>
            </div>
            <div class="footer-column">
                <h3>资源中心</h3>
                <ul class="footer-links">
                    <li><a href="#">电子图书馆</a></li>
                    <li><a href="#">唐代文物数据库</a></li>
                    <li><a href="#">学术论文</a></li>
                    <li><a href="#">影像资料</a></li>
                    <li><a href="#">研究工具</a></li>
                </ul>
            </div>
            <div class="footer-column">
                <h3>联系我们</h3>
                <div class="contact-info">
                    <p><i class="fas fa-map-marker-alt"></i> 陕西省西安市雁塔区</p>
                    <p><i class="fas fa-phone"></i> 029-88889999</p>
                    <p><i class="fas fa-envelope"></i> info@tangculture.com</p>
                    <p><i class="fas fa-clock"></i> 周一至周五: 9:00 - 17:00</p>
                </div>
            </div>
        </div>
        <div class="copyright">
            <p>&copy; 2023 盛世大唐文化研究中心. 保留所有权利. | 设计: 唐代文化爱好者</p>
        </div>
    </footer>

    <script>
        // 轮播图功能
        document.addEventListener('DOMContentLoaded', function() {
            const slides = document.querySelectorAll('.carousel-slide');
            const dots = document.querySelectorAll('.carousel-dot');
            let currentSlide = 0;
            const slideInterval = 5000; // 5秒切换
            
            // 切换到指定幻灯片
            function goToSlide(n) {
                slides[currentSlide].classList.remove('active');
                dots[currentSlide].classList.remove('active');
                
                currentSlide = (n + slides.length) % slides.length;
                
                slides[currentSlide].classList.add('active');
                dots[currentSlide].classList.add('active');
            }
            
            // 自动播放
            function startSlideShow() {
                setInterval(() => {
                    goToSlide(currentSlide + 1);
                }, slideInterval);
            }
            
            // 添加点按事件
            dots.forEach(dot => {
                dot.addEventListener('click', function() {
                    const slideIndex = parseInt(this.getAttribute('data-index'));
                    goToSlide(slideIndex);
                });
            });
            
            // 开始轮播
            startSlideShow();
            
            // 订阅表单提交
            const subscribeForm = document.querySelector('.subscribe-form');
            subscribeForm.addEventListener('submit', function(e) {
                e.preventDefault();
                const emailInput = this.querySelector('input[type="email"]');
                const email = emailInput.value;
                
                if(email) {
                    alert(`感谢订阅！我们将向 ${email} 发送唐代文化周刊。`);
                    emailInput.value = '';
                }
            });
            
            // 导航链接悬停效果增强
            const navLinks = document.querySelectorAll('nav a');
            navLinks.forEach(link => {
                link.addEventListener('mouseenter', function() {
                    this.style.transform = 'translateY(-3px)';
                });
                
                link.addEventListener('mouseleave', function() {
                    this.style.transform = 'translateY(0)';
                });
            });
        });
    </script>
</body>
</html>